package com.icity.service;

import java.util.List;
import java.util.Map;

import com.icity.entity.Menu;
import com.icity.entity.Role;
import com.icity.entity.RoleMenu;
import com.icity.entity.treemenu;
import com.icity.entity.twotreemenu;
import com.icity.entity.system.TableSupport;

public interface SystemRoleService {
	
	TableSupport<Role> getRoleLsit(Map<Object, Object> map);

	boolean isExitroleByName(int id);

	int updateRole(Role role);

	int saveRole(Role role);

	int deleteRoleById(int id);

/*	List<Map<Object,Object>> select();*/

	List<Menu> onemen();

	List<Menu> select(String parent_code);

	List<twotreemenu> selecttwo(String unique_code);

	int insetrrolemenu(RoleMenu roleMenu);

	List<Integer> getrolemenu(String roleId);

	
	
}
